package com.shanzhu.hospital.entity.po;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

@Data
@TableName("surgery")
public class Surgery {
    @TableId(value = "s_id")
    @JsonProperty("sId")
    private int sId;

    @TableId(value = "s_name")
    @JsonProperty("sName")
    private String sName;

    @TableId(value = "s_reason")
    @JsonProperty("sReason")
    private String sReason;

    @TableId(value = "s_agree")
    @JsonProperty("sAgree")
    private String sAgree;

    @TableId(value = "s_money")
    @JsonProperty("sMoney")
    private Double sMoney;

    @TableId(value = "s_pay")
    @JsonProperty("sPay")
    private int sPay;

    @TableId(value = "s_date")
    @JsonProperty("sDate")
    private String sDate;

    @TableId(value = "s_mark")
    @JsonProperty("sRemark")
    private String sRemark;

    @TableId(value = "s_hospital")
    @JsonProperty("sHospital")
    private int sHospital;

    @TableId(value = "d_id")
    @JsonProperty("dId")
    private int dId;

    @TableId(value = "o_id")
    @JsonProperty("oId")
    private int oId;
}
